﻿//-----------------------------------------------------------------------
// <copyright file="IMergeCellInternal.cs" company="LMT">
//     Copyright (c) by La Minh Thuận.
// </copyright>
// <author>thuanla1985@hotmail.com</author>
//-----------------------------------------------------------------------
namespace LMT.Forms
{
    /// <summary>
    /// partern for all cell uss
    /// </summary>
    public interface IMergeCell
    {
        /// <summary>
        /// Gets a value indicating whether this instance is vertical merge.
        /// </summary>
        /// <value>
        ///   <c>true</c> if this instance is vertical merge; otherwise, <c>false</c>.
        /// </value>
        bool IsVMergeNext { get; }

        /// <summary>
        /// Gets a value indicating whether this instance is vertical merge previous.
        /// </summary>
        /// <value>
        ///   <c>true</c> if this instance is vertical merge previous; otherwise, <c>false</c>.
        /// </value>
        bool IsVMergePrevious { get; }

        /// <summary>
        /// Gets a value indicating whether this instance is horizontal merge next.
        /// </summary>
        /// <value>
        ///   <c>true</c> if this instance is horizontal merge; otherwise, <c>false</c>.
        /// </value>
        bool IsHMergeNext { get; }

        /// <summary>
        /// Gets a value indicating whether this instance is horizontal merge previous.
        /// </summary>
        /// <value>
        ///   <c>true</c> if this instance is H merge previous; otherwise, <c>false</c>.
        /// </value>
        bool IsHMergePrevious { get; }
    }
}
